<html lang="zh-CN">
<head>
    <title>welcome</title>
	<meta charset="utf-8">
    <style>
        div{
            width:300px;
            height:100px;
            position: absolute;
            top:50%;
            left:50%;
            margin-top: -50px ;
            margin-left:-150px;
        }
		input {
			 cursor: pointer;
			 width: 200px; 
			
		}
    </style>
	<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"/>	</script>
	<script>
	$(document).ready(function(){
		$.get("http://www.test.com:8000/api/user/info",function(data,status){
			console.log("数据: " + data + "\n状态: " + status);
			$("#text_id").text(data+"，欢迎登陆系统！")
		}).error(function (data,status) {
			alert(data.responseJSON.message)
			location.href="/static/login.html";
		})
	});	
	</script>
</head>
<body>
    <div id="text_id">
        欢迎登陆系统！
    </div>
</body>
</html>
